// import 'dart:ui';
//
// import 'package:flutter/material.dart';
// import 'package:media_kit/media_kit.dart';
// import 'package:super_study_english_tool/screen/screen_player.dart';
//
// void main() {
//   WidgetsFlutterBinding.ensureInitialized();
//
//   MediaKit.ensureInitialized();
//   runApp(const MyApp());
// }
//
// class MyApp extends StatelessWidget {
//   const MyApp({super.key});
//
//   @override
//   Widget build(BuildContext context) {
//     return MaterialApp(
//       scrollBehavior: MyCustomScrollBehavior(),
//       debugShowCheckedModeBanner: false,
//       title: '学外语超级工具',
//       theme: ThemeData(
//         colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
//         useMaterial3: true,
//       ),
//       home: ScreenPlayer(
//         mode: 1,
//         // mp3Path: "/Users/qiang/英语/萤火虫/萤火虫1.mp4",
//         // srtPath1: "/Users/qiang/英语/萤火虫/萤火虫1.srt",
//         // mp3Path: "/Users/qiang/英语/01_1_1.mp3",
//         // srtPath1: "/Users/qiang/英语/01_1_1.srt",
//         // mp4Path: "/Users/qiang/英语/译林英语/3上/3上1.mp4",
//         // srtPath1: "/Users/qiang/英语/译林英语/3上/3上1.srt",
//         // srtPath2: "/Users/qiang/英语/译林英语/3上/3上1.srt",
//         // mp4Path: "/Users/qiang/英语/4上1.mp4",
//         // srtPath1: "/Users/qiang/英语/4上1.srt",
//         mp4Path: "/Users/qiang/英语/译林英语/4上/4上4.mp4",
//         srtPath1: "/Users/qiang/英语/译林英语/4上/4上4.srt",
//       ),
//     );
//   }
// }
//
// class MyCustomScrollBehavior extends MaterialScrollBehavior {
//   // Override behavior methods and getters like dragDevices
//   @override
//   Set<PointerDeviceKind> get dragDevices => {
//         PointerDeviceKind.touch,
//         PointerDeviceKind.mouse,
//       };
// }
